# exponent  美 [ɪkˈspoʊnənt]
# n. [数] 指数；典型；说明者，说明物
# n. 倡导者，鼓吹者，代表者，拥护者
# adj. 说明的
'''
print(2 ** 3)
'''

# print(2^3)

'''
def raise_to_power(num_base, num_power):
    result=1
    if num_power==0:
        result = 1

    else:
        for index in range(num_power):
            result = result * num_base
    print(result)

raise_to_power(1,0)
raise_to_power(2,0)
raise_to_power(1,1)
raise_to_power(1,3)
raise_to_power(2,2)
raise_to_power(2,3)


'''

'''
def raise_to_power(num_base, num_power):
    result = 1
    # result = 2 # when power number is 0, this for loop won't run


    for index in range(num_power):
        result = result * num_base

    print(result)



raise_to_power(1, 0)
raise_to_power(2, 0)
raise_to_power(10, 0)
'''

result=1
num_base=2
for index in range(0):  # when power number is 0, this content in the for loop won't run
    result = result * num_base
    print("now the value is "+ str(result))

print(result)




